package com.kfm.system.service.impl;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.kfm.system.mapper.DictDataMapper;
import com.kfm.common.domain.entity.DictData;
import com.kfm.system.service.DictDataService;
@Service
public class DictDataServiceImpl implements DictDataService{

    @Autowired
    private DictDataMapper dictDataMapper;

    @Override
    public int deleteByPrimaryKey(Integer dataId) {
        return dictDataMapper.deleteByPrimaryKey(dataId);
    }

    @Override
    public int insert(DictData record) {
        return dictDataMapper.insert(record);
    }

    @Override
    public int insertSelective(DictData record) {
        return dictDataMapper.insertSelective(record);
    }

    @Override
    public DictData selectByPrimaryKey(Integer dataId) {
        return dictDataMapper.selectByPrimaryKey(dataId);
    }

    @Override
    public int updateByPrimaryKeySelective(DictData record) {
        return dictDataMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(DictData record) {
        return dictDataMapper.updateByPrimaryKey(record);
    }

}
